package com.bill.gaty.mfidelity.activities.fragments;

import java.net.URLEncoder;

import com.bill.gaty.mfidelity.R;
import com.bill.gaty.mfidelity.activities.CompatibiliteActivity;
import com.bill.gaty.mfidelity.activities.GtfActivity;
import com.bill.gaty.mfidelity.beans.Compatibilite;

import android.app.Activity;
import android.app.Fragment;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.webkit.WebView;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.TextView;

@SuppressWarnings("unused")
public class GtfFragment extends Fragment {

	private ImageView gtfimage;
	private Button commencerGtfButton;
	 
	private TextView messageAccueilGtfTextView;
	 
	public final static int GtfFragment_activity_result_code = 0x001200;

	@Override
	public void onSaveInstanceState(Bundle outState) {
		// TODO Auto-generated method stub

		super.onSaveInstanceState(outState);
	}

	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {

		View v = inflater.inflate(R.layout.gtf_fragment_layout, null);
		 
		commencerGtfButton=(Button) v.findViewById(R.id.commencer_gtf_button);
		messageAccueilGtfTextView= (TextView) v.findViewById(R.id.message_accueil_gtf_text_view);
		commencerGtfButton.setOnClickListener(new View.OnClickListener() {
			
			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				Intent job=new Intent(getActivity(), GtfActivity.class);
				startActivity(job);
			}
		});
		return v;

	}

	@Override
	public void onActivityResult(int requestCode, int resultCode, Intent data) {
		// TODO Auto-generated method stub

	}

	@Override
	public void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);

	}
}
